<template>
  <div>
    <el-form
      ref="form"
      :model="mapping"
      :label-position="lablePosition"
      label-width="125px"
      size="mini"
    >
      <el-form-item label="map映射类型">
        <el-select v-model="mapping.mappingselect" placeholder="请选择map映射类型">
          <!-- @change="typechange($event)" -->
          <el-option
            v-for="item in mappingList"
            :key="item.id"
            :value="item.id"
            :label="item.name"
          ></el-option>
        </el-select>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      lablePosition: "left",
      mapping: {
        mappingselect: "passThrough",
      },
      mappingList:[
          {id:1,name:'avro'},
          {id:2,name:'binary'},
          {id:3,name:'csv'},
          {id:4,name:'json'},
          {id:5,name:'keyvalue'},
          {id:6,name:'passThrough (default)'},
          {id:7,name:'text'},
          {id:8,name:'xml'},
      ]
    };
  },
  mounted() {},
  methods: {},
};
</script>

<style>
</style>
